package net.dgg.rz.common.constant;


/**
 * <p>@Title 融资部分常量</p>
 * <p>@Description 融资部分常量</p>
 * <p>@Version 1.0.0 版本号</p>
 * <p>@author cuipeng</p>
 * <p>@date 2018年12月14日</p>
 * <p>Copyright © dgg group.All Rights Reserved. 版权信息</p>
 */
public class ScProductConstant {

    public static final int WORKDAY_STATUS = 1; // 工作日
    /* ----------------- 融资订单来源  -----------------*/
    public static final String RZSC_ORIGINCODE_SLIP_RETURN = "RZSC_ORIGINCODE_SLIP_RETURN";//转单退回
    public static final String RZSC_ORIGINCODE_SLIP = "RZSC_ORIGINCODE_SLIP";//转单
    public static final String RZSC_ORIGINCODE_MOVE_RETURN = "RZSC_ORIGINCODE_MOVE_RETURN";//移交退回
    public static final String RZSC_ORIGINCODE_MOVE = "RZSC_ORIGINCODE_MOVE";//移交
    public static final String RZSC_ORIGINCODE_ALLOT = "RZSC_ORIGINCODE_ALLOT";//分配
    public static final String RZSC_ORIGINCODE_UNDER = "RZSC_ORIGINCODE_UNDER";//下单
    public static final String RZSC_ORIGINCODE_DEPT = "RZSC_ORIGINCODE_DEPT";//事业部移交
    public static final String RZSC_ORIGINCODE_ADD = "RZSC_ORIGINCODE_ADD";//新增渠道
    public static final String RZSC_ORIGINCODE_PRO_ADD = "RZSC_ORIGINCODE_PRO_ADD";//新增产品
    public static final String RZSC_ORIGINCODE_PRO_CHANGE = "RZSC_ORIGINCODE_PRO_CHANGE";//更改产品
    public static final String RZSC_ORIGINCODE_AACCEPT_CHANGE = "RZSC_ORIGINCODE_AACCEPT_CHANGE";//接收时更改产品
    /* ----------------- 融资生产状态-----------------*/
    public static final String RZSCORDER_STATUS00 = "RZSCORDER_STATUS00";//未审核通过的订单（待审生产单）
//    public static final String RZSCORDER_STATUS15 = "RZSCORDER_STATUS15";//移交待接收
    public static final String RZSCORDER_STATUS15 = "RZSCORDER_STATUS15";//移交待接收
    public static final String RZSCORDER_STATUS11 = "RZSCORDER_STATUS11";//转单待接收
    public static final String RZSCORDER_STATUS06 = "RZSCORDER_STATUS06";//已退单
    public static final String RZSCORDER_STATUS14 = "RZSCORDER_STATUS14";//待分配
    public static final String RZSCORDER_STATUS07 = "RZSCORDER_STATUS07";//废单待审核
    public static final String RZSCORDER_STATUS03 = "RZSCORDER_STATUS03";//暂缓
    public static final String RZSCORDER_STATUS19 = "RZSCORDER_STATUS19";//超期完结
    public static final String RZSCORDER_STATUS20 = "RZSCORDER_STATUS20";//强制完结
    public static final String RZSCORDER_STATUS05 = "RZSCORDER_STATUS05";//退单待审核
    public static final String RZSCORDER_STATUS01 = "RZSCORDER_STATUS01";//下单待接收
    public static final String RZSCORDER_STATUS02 = "RZSCORDER_STATUS02";//办理中
//    public static final String RZSCORDER_STATUS18 = "RZSCORDER_STATUS18";//事业部移交待分配(禁用,与待分配合并)
    public static final String RZSCORDER_STATUS08 = "RZSCORDER_STATUS08";//已废单
    public static final String RZSCORDER_STATUS17 = "RZSCORDER_STATUS17";//生产完结
    public static final String RZSCORDER_STATUS22 = "RZSCORDER_STATUS22";//完结待审核
    public static final String RZSCORDER_STATUS09 = "RZSCORDER_STATUS09";//退单驳回
    public static final String RZSCORDER_STATUS10 = "RZSCORDER_STATUS10";//废单驳回
    public static final String RZSCORDER_STATUS16 = "RZSCORDER_STATUS16";//退回待接收
    public static final String RZSCORDER_STATUS21 = "RZSCORDER_STATUS21";//已更换产品
    /*--------------------------------------订单来源方式---------------------------------*/
    public static final String ORDER_SOURCE_DISTRIBUTION = "ORDER_SOURCE_DISTRIBUTION";//分配
    public static final String ORDER_SOURCE_SLIP = "ORDER_SOURCE_SLIP";//转单
    public static final String ORDER_SOURCE_TRANSFER = "ORDER_SOURCE_TRANSFER";//移交
    public static final String ORDER_SOURCE_SLIP_RETURN = "ORDER_SOURCE_SLIP_RETURN";//转单退回
    public static final String ORDER_SOURCE_TRANSFER_RETURN = "ORDER_SOURCE_TRANSFER_RETURN";//移交退回


    //超期状态常量
    public static final String NORMAL = "OVERDUE_STATE1"; // 正常
    public static final String TIME_OUT = "OVERDUE_STATE2"; //  超期

    //是否需要数据权限(需要的话就在map里面以此为key和value传入)
    public static final String DATA_AUTH = "DATA_AUTH";

    //数据字典code
    public static final String TD_YY_CODE = "TD_YY_CODE";//退单原因
    public static final String FD_YY_CODE = "FD_YY_CODE";//废单原因
    public static final String ZH_YY_CODE = "ZH_YY_CODE";//暂缓原因

    //分配方式
    public static final String ALLOT_TO_FLOW_USER = "SC_GENERAL_ALLOT01"; // 分配给生产流程人

    //异常常量
    public static final String SYS_ERROR = "系统异常，请稍后再试";

    //融资业态code
    public static final String BUS_YT_DK = "BUS_YT_DK";
    //融资业态name
    public static final String BUS_YT_DK_NAME = "融资";

    /**
     * 内部成本计算项
     */
    public static final String BUS_YT_DK_NBCB = "BUS_YT_DK_nbcb";
    /**
     * 自开发利润
     */
    public static final String BUS_YT_DK_ZKFLR = "BUS_YT_DK_zkflr";
    /**
     * 返点利润
     */
    public static final String BUS_YT_DK_FDLR = "BUS_YT_DK_fdlr";
    /**
     * 默认等级
     */
    public static final String DEFAULT_LEVEL = "BUS_YT_DK_CJ";
    /**
     * 是否需要班长
     */
    public static final boolean IS_HAS_MONITOR = true;
    /**
     * 调整级别按钮权限
     */
    public static final String CHANGE_LEVEL_BUTTON = "CHANGE_LEVEL_BUTTON";
    /**
     * 调整优先级
     */
    public static final String CHANGE_SORT_BUTTON = "CHANGE_SORT_BUTTON";
    /**
     * 信用贷款
     */
    public static final String BUS_YT_DK_XYDK = "BUS_YT_DK_XYDK";
    /**
     * 抵押贷款
     */
    public static final String BUS_YT_DK_DYDK = "BUS_YT_DK_DYDK";
    /**
     * 资金业务
     */
    public static final String BUS_YT_DK_ZJYW = "BUS_YT_DK_ZJYW";
    /**
     * 家人支持
     */
    public static final String FAMILY_SUPPORT = "FAMILY_SUPPORT";
    /**
     * 生产订单详情-编辑（有此权限不受状态的流程人员是否为自己限制）
     */
    public static final String RZSC_OPERATION_EDIT = "RZSC_OPERATION_EDIT";

    /**
     * 工作量录入-新增（有此权限不受事业部是否为自己所在事业部限制）
     */
    public static final String RZSC_ORG_PERMISSION = "RZSC_ORG_PERMISSION";
}